# FROM node:lts-alpine

# RUN apk add --no-cache tini

# ENV NODE_ENV production
# USER node

# WORKDIR /app

# COPY --chown=node:node . ./

# RUN yarn --network-timeout=100000

# EXPOSE 3000

# CMD [ "/sbin/tini", "--", "node", "app.js" ]

FROM node:18

WORKDIR /app

COPY package.json .

RUN npm config set registry https://registry.npmmirror.com/

RUN npm install

COPY . .

EXPOSE 3000

CMD [ "node", "app.js" ]
